﻿<%@ Page Language="C#" MasterPageFile="~/MPage.Master" AutoEventWireup="true" CodeBehind="Product.aspx.cs"
    Inherits="KTSonline.Product" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>
    <link href="css/lightbox.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <div id="left">
        <div id="banner">
            <a href="#">
                <img src="images/banner/banner_top.png" alt="banner" /></a>
        </div>
        <div class="bortop">
        </div>
        <div class="borleft">
            <div class="borright">
                <div class="content">
                    <div class="padding" id="pdetail">
                        <asp:Repeater ID="Repeater1" runat="server">
                            <ItemTemplate>
                                <a href="<%# URLLightBox(Eval("thumbnail")) %>" rel="lightbox[gallery]"><img src="<%# Eval("thumbnail") %>" alt="Hình ảnh" class="pdpic" /></a>
                                <script type="text/javascript">
                                    $('a[rel*="lightbox"]').lightBox();
                                </script>
                                <fieldset class="tbldetail">
                                    <legend class="legend">Thông tin chung</legend>
                                    <table class="tbldetail2">
                                        <tr>
                                            <td>
                                                <ul class="DInfo">
                                                    <li>
                                                        <p class="pname">
                                                            <%# TenLoaiSanPham(Eval("ID").ToString(),Eval("tenmay").ToString()) %></p>
                                                    </li>
                                                    <li>
                                                        <p class="pprice">
                                                            <%# Eval("giaban", "Giá: {0:N0} VNĐ")%></p>
                                                    </li>
                                                </ul>
                                            </td>
                                            <td>
                                                <p>
                                                    <a href="<%# Eval("url") %>" target="_blank">
                                                        <img src="<%# Eval("logo") %>" alt="logo"></a></p>
                                            </td>
                                        </tr>
                                    </table>
                                    <table class="tbldetail3">
                                        <tr>
                                            <td><span class="bold underline">Khuyến mãi kèm theo:</span></td>
                                            <td><%# Eval("KMkemtheo") %></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td><%# Eval("KMkhac")%></td>
                                        </tr>
                                        <tr>
                                            <td><span class="bold underline">Chế độ bảo hành:</span></td>
                                            <td><%# Eval("baohanh")%></td>
                                        </tr>
                                    </table>

                                    <ul class="DInfo">
                                        <li>
                                            <p>
                                                <a href="JavaScript:CartFunc('<%#Eval("id") %>', 1)">
                                                    <img src="images/templates/default/btnaddcart.gif" alt="Mua hàng" /></a>
                                                <a href="HuongDanMuaHangvaThanhToan.aspx" target="_blank">Hướng dẫn mua hàng</a></p>
                                        </li>
                                    </ul>
                                </fieldset>
                                <div class="baiviet clear">
                                    <br>
                                    </br>
                                    <h3>
                                        Thông tin chi tiết:</h3>
                                    <br>
                                    </br>
                                    <%# Eval("baiviet") %></div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                </div>
            </div>
        </div>
        <div class="borbottom">
        </div>
    </div>
</asp:Content>
